package com.yuke.cloud.service.cmc.service;

import com.yuke.cloud.common.core.support.IService;
import com.yuke.cloud.service.api.cmc.dto.CmsCouponGoodsDto;
import com.yuke.cloud.service.cmc.dto.CmsCouponSpecDto;
import com.yuke.cloud.service.cmc.entity.CmsCouponSpec;
import org.apache.ibatis.annotations.Param;

import java.util.List;


/**
 * Created by wg on 2019/09/25.
 */
public interface CmsCouponSpecService extends IService<CmsCouponSpec> {
    List<CmsCouponSpecDto> getBindingGoods(CmsCouponSpec cmsCouponSpec);
    List<CmsCouponSpecDto> getCouponSpecListByCouponId(Long CouponId);
    List<CmsCouponSpecDto> getGoodsList(@Param("cmsCouponSpecDto")CmsCouponSpecDto cmsCouponSpecDto);
    void  deleteBoundGoods (Long specId);
    void deleteBoundGoodsList(List<Long> list);
    List<CmsCouponGoodsDto> getCouponGoodsByCouponId(Long CouponId);
}
